<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="Bookmark" href="__EXTEND__/favicon.ico" >
    <link rel="Shortcut Icon" href="__EXTEND__/favicon.ico" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="__EXTEND__/lib/html5shiv.js"></script>
    <script type="text/javascript" src="__EXTEND__/lib/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="__EXTEND__/static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="__EXTEND__/static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="__EXTEND__/lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="__EXTEND__/static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="__EXTEND__/static/h-ui.admin/css/style.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="__EXTEND__/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>实名认证</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 用户管理 <span class="c-gray en">&gt;</span> 实名认证
   </nav>
<div class="page-container">
    <form id="searchform" action="{{:U('Admin/Agency/userAuth')}}" method="post">
        <div class="cl">
            姓名：
            <input type="text" value="{{$searchs['auth_name']}}" name="auth_name" id="" placeholder="请输入姓名" style="width:250px" class="input-text">
            类型：
            <span class="select-box inline">
                <select name="auth_status" class="select">
                    <option value="">全部</option>
                    <option value="0">未审核</option>
                    <option value="1">通过</option>
                    <option value="2">未通过</option>
                </select>
            </span>
            <button type="submit" class="btn btn-success" id="" name=""><i class="Hui-iconfont">&#xe665;</i> 筛选</button>
        </div>
    </form>

    <table class="table table-border table-bordered table-bg mt-20 table-sort table-hover">
        <thead>
        <tr class="text-c">

            <th width="20%">申请认证时间</th>
            <th width="10%">用户姓名</th>
            <th width="20%">身份证正面</th>
            <th width='20%'>身份证反面</th>
            <th width="10%">审核状态</th>
            <th width="10%">操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="lists" item="list">
            <tr class="text-c">
                <td>{{$list['add_time']|time_format}}</td>
                <td>{{$list['auth_name']}}</td>  
                <td><img src="{{$list['face_card']}}" width="50" height="50"></td>     
                <td><img src="{{$list['back_card']}}" width="50" height="50"></td>
                <td class="td-status">
                    <switch name="list['auth_status']">
                        <case value="0"><span class="label label-danger radius">未审核</span></case>
                        <case value="1"><span class="label label-success radius">通过</span></case>
                        <case value="2"><span class="label label-danger radius">不通过</span></case>
                    </switch>
                </td>
                
                <td class="td-manage">
                    <a style="text-decoration:none" class="ml-5" onClick="auth_check('编辑','{{:U('Admin/User/authCheck',array('id'=>$list['auth_id']))}}')" href="javascript:;" title="编辑">
                        <i class="Hui-iconfont">&#xe6df;</i>
                    </a>
                </td>
            </tr>
        </foreach>
        
        </tbody>
    </table>
</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="__EXTEND__/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__EXTEND__/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="__EXTEND__/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="__EXTEND__/static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__EXTEND__/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="__EXTEND__/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="__EXTEND__/lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript">
   function auth_check(title,url){
        layer_full(title,url);
    }
</script>
</body>
</html>